<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Dingo.plugins.debug.DebugPlugin</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="Dingo-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/dingo-wsn/">Dingo</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="Dingo-module.html">Package&nbsp;Dingo</a> ::
        <a href="Dingo.plugins-module.html">Package&nbsp;plugins</a> ::
        <a href="Dingo.plugins.debug-module.html">Package&nbsp;debug</a> ::
        Class&nbsp;DebugPlugin
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="Dingo.plugins.debug.DebugPlugin-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class DebugPlugin</h1><br /><br />
<center>
<center>  <map id="uml_class_diagram_for_dingo_pl_5" name="uml_class_diagram_for_dingo_pl_5">
<area shape="rect" href="Dingo.pluginManager.Plugin&#45;class.html#name" title="Name of this plugin." alt="" coords="199,28,428,47"/>
<area shape="rect" href="Dingo.pluginManager.Plugin&#45;class.html#graphPane" title="reference to the network pane in the Dingo GUI." alt="" coords="199,47,428,66"/>
<area shape="rect" href="Dingo.pluginManager.Plugin&#45;class.html#createMenu" title="Create a menu which Dingo will add as a submenu in the Plugins menu of the  GUI." alt="" coords="199,68,428,87"/>
<area shape="rect" href="Dingo.pluginManager.Plugin&#45;class.html#createContextMenu" title="Create a menu which will be available when users right&#45;click on a network  node." alt="" coords="199,87,428,106"/>
<area shape="rect" href="Dingo.pluginManager.Plugin&#45;class.html" title="Superclass for Dingo plugins." alt="" coords="197,11,429,107"/>
<area shape="rect" href="Dingo.pluginManager.PluginPanel&#45;class.html" title="Panel added to the notebook page of the Dingo GUI." alt="" coords="16,220,187,247"/>
<area shape="poly" href="Dingo.pluginManager.Plugin&#45;class.html#panel" title="Dingo.pluginManager.Plugin.panel" alt="" coords="256,109 130,213 126,209 253,105"/>
<area shape="rect" href="Dingo.pluginManager.Plugin&#45;class.html#panel" title="Dingo.pluginManager.Plugin.panel" alt="" coords="251,103,259,111"/>
<area shape="rect" href="Dingo.pluginManager.Plugin&#45;class.html#panel" title="Dingo.pluginManager.Plugin.panel" alt="" coords="113,216,121,224"/>
<area shape="rect" href="Dingo.pluginManager.Plugin&#45;class.html#panel" title="panel" alt="" coords="241,123,272,140"/>
<area shape="rect" href="Dingo.plugins.debug.DebugPlugin&#45;class.html#startSocketListener" title="Dingo.plugins.debug.DebugPlugin.startSocketListener" alt="" coords="239,180,388,199"/>
<area shape="rect" href="Dingo.plugins.debug.DebugPlugin&#45;class.html#activate" title="Activate this plugin." alt="" coords="239,199,388,218"/>
<area shape="rect" href="Dingo.plugins.debug.DebugPlugin&#45;class.html#stopSocketListener" title="Dingo.plugins.debug.DebugPlugin.stopSocketListener" alt="" coords="239,218,388,236"/>
<area shape="rect" href="Dingo.plugins.debug.DebugPlugin&#45;class.html#deactivate" title="Deactivate this plugin." alt="" coords="239,236,388,255"/>
<area shape="rect" href="Dingo.plugins.debug.DebugPlugin&#45;class.html#OnResize" title="Dingo.plugins.debug.DebugPlugin.OnResize" alt="" coords="239,255,388,274"/>
<area shape="rect" href="Dingo.plugins.debug.DebugPlugin&#45;class.html#OnDebugMe" title="Dingo.plugins.debug.DebugPlugin.OnDebugMe" alt="" coords="239,274,388,292"/>
<area shape="rect" href="Dingo.plugins.debug.DebugPlugin&#45;class.html#__init__" title="Note that we can&#39;t interact with the GUI here because the plugin notebook  page will only be created by the Plugin Manager after the plugin is  activated." alt="" coords="239,292,388,311"/>
<area shape="rect" href="Dingo.plugins.debug.DebugPlugin&#45;class.html" title="Builtin debug plugin for debugging simulations or deployments." alt="" coords="237,155,389,312"/>
</map>
  <img src="uml_class_diagram_for_dingo_pl_5.gif" alt='' usemap="#uml_class_diagram_for_dingo_pl_5" ismap="ismap" class="graph-without-title" />
</center></center>
<hr />
<p>Builtin debug plugin for debugging simulations or deployments.</p>
  Listens on port 10000 of localhost.<br /><br />

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="OnDebugMe"></a><span class="summary-sig-name">OnDebugMe</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">debug</span>)</span></td>
          <td align="right" valign="top">
            
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="OnResize"></a><span class="summary-sig-name">OnResize</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">event</span>)</span></td>
          <td align="right" valign="top">
            
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Dingo.plugins.debug.DebugPlugin-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>)</span><br />
      Note that we can't interact with the GUI here because the plugin 
      notebook page will only be created by the Plugin Manager after the 
      plugin is activated.</td>
          <td align="right" valign="top">
            
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Dingo.plugins.debug.DebugPlugin-class.html#activate" class="summary-sig-name">activate</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Activate this plugin.</td>
          <td align="right" valign="top">
            
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Dingo.plugins.debug.DebugPlugin-class.html#deactivate" class="summary-sig-name">deactivate</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Deactivate this plugin.</td>
          <td align="right" valign="top">
            
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="startSocketListener"></a><span class="summary-sig-name">startSocketListener</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="stopSocketListener"></a><span class="summary-sig-name">stopSocketListener</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="Dingo.pluginManager.Plugin-class.html">pluginManager.Plugin</a></code></b>:
      <code><a href="Dingo.pluginManager.Plugin-class.html#createContextMenu">createContextMenu</a></code>,
      <code><a href="Dingo.pluginManager.Plugin-class.html#createMenu">createMenu</a></code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== INSTANCE VARIABLES ==================== -->
<a name="section-InstanceVariables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceVariables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="Dingo.pluginManager.Plugin-class.html">pluginManager.Plugin</a></code></b>:
      <code><a href="Dingo.pluginManager.Plugin-class.html#graphPane">graphPane</a></code>,
      <code><a href="Dingo.pluginManager.Plugin-class.html#name">name</a></code>,
      <code><a href="Dingo.pluginManager.Plugin-class.html#panel">panel</a></code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">name</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    >&nbsp;
    </td>
  </table>
  
  Note that we can't interact with the GUI here because the plugin 
  notebook page will only be created by the Plugin Manager after the plugin
  is activated.
  <dl class="fields">
    <dt>Overrides:
      <a href="Dingo.pluginManager.Plugin-class.html#__init__">pluginManager.Plugin.__init__</a>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="activate"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">activate</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    >&nbsp;
    </td>
  </table>
  
  Activate this plugin. <b>Must</b> be overridden by in 
  <code>Plugin</code> subclasses.
  <dl class="fields">
    <dt>Overrides:
      <a href="Dingo.pluginManager.Plugin-class.html#activate">pluginManager.Plugin.activate</a>
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="deactivate"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">deactivate</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    >&nbsp;
    </td>
  </table>
  
  Deactivate this plugin. <b>Must</b> be overridden by in 
  <code>Plugin</code> subclasses.
  <dl class="fields">
    <dt>Overrides:
      <a href="Dingo.pluginManager.Plugin-class.html#deactivate">pluginManager.Plugin.deactivate</a>
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="Dingo-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/dingo-wsn/">Dingo</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    <a href="epydoc-log.html">Generated by Epydoc
    3.0beta1 on Tue Jun  3 00:42:56 2008</a>
    </td>
    <td align="right" class="footer">
      <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie()
  // -->
</script>
  
</body>
</html>
